package com.aat.dizena.base.dao;

import java.util.*;
import org.springframework.stereotype.Repository;
import com.aat.dizena.base.bean.User;

@Repository
public interface UserDao{

    int addBean(User bean);

    int updateBean(User bean);

    int deleteBean(String id);

    User queryBean(String id);
    
    User queryUserLogin(String account);

    List<User> queryAll(Map<String, Object> map);

    long queryCount(Map<String, Object> map);

}
